package com.qf.springboot4.anno;

import com.qf.springboot4.domain.Person;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE) //注解作用在类上
@Retention(RetentionPolicy.RUNTIME)
@Import(Person.class)
public @interface EnablePerson {
}
